﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YakShaver.WCSF.BuildManager.Interface.BusinessEntities;
namespace YakShaver.WCSF.BuildManager.Tests.Mocks
{
    public class MockIProject : IProject
    {
        #region IProject Members

        public int BuildIdGetCallCount;
        public string BuildId
        {
            get {
                BuildIdGetCallCount++;
                return "0.0.0.1";
            }
        }

        public int BuildNameGetCallCount;
        public string BuildName
        {
            get {
                BuildNameGetCallCount++;
                return "testbuild";
            }
        }

        public int SandboxScriptGetCallCount;
        public string SandboxScript
        {
            get
            {
                SandboxScriptGetCallCount++;
                return "sandbox.build";
            }
        }

        public int SandboxesGetCount;
        public IList<IProjectSandbox> Sandboxes
        {
            get
            {
                SandboxesGetCount++;
                return new List<IProjectSandbox>();
            }
        }

        #endregion
    }
}
